export const getM2MeasureSpeedOptionOrStr = (key: any) => {
  const options = [
    {value:500,label:"500"},
    {value:1000,label:"1000"},
    {value:2000,label:"2000"},
  ];
  let ret: any = false
  options.forEach((item) => {
    if(key == item.value){
      ret =  item.label
    }
  })
  return ret || options
}

export const getM2FirRange = () => {
  return {
    "500" : [{label:"125-175",value:1},{label:"10-80",value:2},{label:"30-80",value:3}],
    "1000" : [{label:"125-175",value:1},{label:"80-200",value:2},{label:"80-400",value:3}],
    "2000" : [{label:"125-175",value:1},{label:"80-200",value:2},{label:"80-400",value:3}],
  }
}
